// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application.HtAdminServices;

/// <summary>
///     Description 菜单表
/// </summary>
public class HtMenuInput
{
    /// <Summary>
    ///     ID
    /// </Summary>
    public long? Id { get; set; }

    /// <summary>
    ///     区域
    /// </summary>
    public string Area { get; set; }

    /// <Summary>
    ///     菜单名称
    /// </Summary>
    public string? Name { get; set; }

    /// <Summary>
    ///     图标
    /// </Summary>
    public string? Icon { get; set; }

    /// <Summary>
    ///     顺序
    /// </Summary>
    public int? Sort { get; set; }

    /// <Summary>
    ///     Url
    /// </Summary>
    public string? Url { get; set; }

    /// <Summary>
    ///     备注
    /// </Summary>
    public string? Remark { get; set; }

    /// <Summary>
    ///     是否展开菜单
    /// </Summary>
    public bool? IsExpand { get; set; }

    /// <Summary>
    ///     节点类型(菜单、工具栏)
    /// </Summary>
    public MenuAreaType? MenuAreaType { get; set; }

    /// <Summary>
    /// </Summary>
    public bool? IsDisuse { get; set; }

    /// <Summary>
    ///     是否系统菜单
    /// </Summary>
    public bool? IsSystem { get; set; }

    /// <Summary>
    ///     是否显示
    /// </Summary>
    public bool? IsShow { get; set; }

    /// <Summary>
    ///     菜单ID
    /// </Summary>
    public string? Code { get; set; }

    /// <Summary>
    ///     父Id
    /// </Summary>
    public string? PCode { get; set; }

    /// <Summary>
    ///     是否可用
    /// </Summary>
    public bool? IsEnable { get; set; }

    /// <Summary>
    /// </Summary>
    public MenuOpenType? OpenType { get; set; }

    /// <summary>
    ///     控制器
    /// </summary>
    public string Controller { get; set; }
}